<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<c:url value="/css/style.css" />" rel="stylesheet" type="text/css" media="screen" />
<title>Insert title here</title>
<style type="text/css">
	.center{
	width: 300px;
	margin: auto ;
	}
</style>
</head>
<body>
<!-- 引入共同的頁首 -->
<c:set var="funcName" value="IND" scope="session"/>
<jsp:include page="/top/top.jsp" />

<!-- 從這裡開始寫 -->

<div class="center">
					<br/>
					<br/>
					<br/>
					<br/>
					<br/>
	<c:if test="${not empty warn }">
              
				
					<h3 style="color:red">${warn}</h3>
				
                
              </c:if>
			<form method="post" action="<c:url value="/top/login.controller" />">
				<fieldset>
					帳號<input type="text" name="username" id="username"  value="" /><br />
					密碼<input type="password" name="password" id="password"  value="" />
					
					<c:if test="${not empty cid }">
						<input type="hidden" name="cid" value="${cid}" />
					</c:if>
					<input type="submit" id="login" value="登入" /><br/>&nbsp&nbsp&nbsp
					<center>
					<a href="<c:url value="/member/Registered.jsp" />">加入會員</a>
					</center>
					
				</fieldset>
			</form>
					<br/>
					<br/>
					<br/>
					<br/>
					<br/>
					
		</div>



<!-- 寫到這裡結束 -->

<div id="footer-wrapper">
	<div id="footer">
		<p>Copyright (c) 2010 Sitename.com. All rights reserved. Design by <a href="http://www.freecsstemplates.org/" rel="nofollow">FCT</a>.</p>
	</div>
</div>
</body>
</html>